package com.guigu.tankai.service;

import com.github.pagehelper.PageInfo;
import com.guigu.liuyunan.pojo.Setmeal;
import com.guigu.tankai.pojo.Member;
import com.guigu.tankai.pojo.PageVo;

import java.util.List;


public interface MemService {

    PageVo<Member> findByMembenation(Integer page, Integer num, Member member);

    //分页查询
    PageInfo<Member> findByMembertion(Integer page, Integer num, String member);
    //删除
    int deleteByPrimaryKey(Integer id);
    //添加
    int insertSelective(Member record);
    //id查
    Member selectByPrimaryKey(Integer id);
    //修改
    int updateByPrimaryKey(Member record);
    int updateByPrimaryKeySelective(Member record);


    List<Setmeal> selectByP(Integer id);

    List<Member> tklist();
}
